package com.zxcl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxcl.domain.Basket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @desc 暂无描述
* @author DLJD
* @date 2023/9/16
 */

@Mapper
public interface BasketMapper extends BaseMapper<Basket> {
    /**
     * 根据openId查询购物车数量
     *
     * @param openId
     * @return
     */
    Integer basketCount(@Param("openId") String openId);
}
